(5979) 1992 XF is a main-belt minor planet. It was discovered by Seiji Ueda and Hiroshi Kaneda in Kushiro, Hokkaidō, Japan, on December 15, 1992.